package statcomponent.demo;

import lombok.Getter;
import lombok.Setter;

/**
 * 学生实体类
 *
 * @author chen
 * @date 2023年07月29日 10:03
 */
@Setter
@Getter
public class Student {
    /**
     * 年龄
     */
    private Integer age;

    /**
     * 课程积分
     */
    private Double classScore;

    /**
     * 数学成绩
     */
    private Double math;
    /**
     * 语文成绩
     */
    private Double chinese;


    public Student(Integer age, Double classScore,Double chinese,Double math) {
        this.age = age;
        this.classScore = classScore;
        this.chinese = chinese;
        this.math = math;
    }
}
